<div class="blk catalog_5">
                <a href="{dede:field  name='typeurl'/}" title="{dede:field name='typename'/}">{dede:field name='typename'/}</a>
          <ul class="sublist">
          {dede:sql sql='Select * from dede_arctype where reid=~id~'}
			 <li><a href='/[field:typedir function='str_replace("{cmspath}","",@me)'/] ' target='_blank'>[field:typename/]</a></li>
		   {/dede:sql}

          </ul>
           </div>